#pragma once
#include<iostream>
using namespace std;

class Date
{
public:
	Date(int year = 1, int month = 1, int day = 1);
	void Print() ;


	friend ostream& operator << (ostream& out, const Date& d);
	friend istream& operator >> (istream& in,  Date& d);



	//Date* operator& ()
	//{
	//	return this;
	//}

	//const Date* operator& () const
	//{
	//	return this;
	//}

private:
	int _year;
	int _month;
	int _day;
};
